<template>
  <div>
    <item-com
      v-for="(item, index) in todoList"
      :key="index"
      :item="item"
      :del="del"
      :index="index"
      :changeFlag="changeFlag"
    ></item-com>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import ItemCom from "./ItemCom.vue";

export default defineComponent({
  components: { ItemCom },
  props: ["todoList", "del", "changeFlag"],
  setup() {
    return {};
  },
});
</script>

<style scoped>
</style>